package com.zhang.step;



import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Slf4jAndLog4j2 {

    //slf4j+log4j2
    @Test
    public void test2() {
        Logger logger = LoggerFactory.getLogger(AloneLog4j2.class);
        logger.trace("trace信息");
        logger.debug("debug信息");
        logger.info("info信息");
        logger.warn("warn信息");
        logger.error("error信息");

    }

}
